package com.train.mgr.modules.biz.dto.request;

import com.train.common.model.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class StatQueryDTO extends PageParam {

    @ApiModelProperty(name = "q", value = "关键字查询(姓名或账号)--按学员查询用到")
    private String q;

    @NotNull(message = "课程ID必填")
    @ApiModelProperty(name = "courseId", value = "课程ID必填",required = true)
    private Long courseId;

    @ApiModelProperty(name = "groupId", value = "分组ID")
    private Long groupId;

    @ApiModelProperty(name = "lessonId", value = "课时ID")
    private Long lessonId;
}
